page {
    // background: #fff;
}

.bg {
    width: 100%;
    height: 438rpx;
    background: linear-gradient(360deg, rgba(121, 121, 121, 1) 0%, rgba(68, 68, 68, 1) 100%);
    box-shadow: 0 50rpx 50rpx #bebebe;

    .nav-class {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
        background: linear-gradient(360deg, #565656 0%, #5c5c5c 100%);
    }

    .swiper {
        width: 100%;
        height: 420rpx;


        .swiper-item {
            // margin-top: 30rpx;

            display: flex;
            align-items: center;
            // width: 100%;
            // height: 338rpx !important;
            height: 100%;
            padding: 0 10rpx;
            box-sizing: border-box;

            .swiper-image {
                width: 100%;
                height: 360rpx;
                object-fit: cover;
                border-radius: 10rpx;
                box-shadow: 0 10rpx 20rpx -10rpx #bebebe;
            }

            .swiper-image.fangda {
                height: 380rpx;
            }
        }

    }

}

.daysignin {
    width: 232rpx;
    height: 98rpx;
    position: absolute;
    right: 0;
    top: 380rpx;
    z-index: 98;
    display: flex;
    align-items: center;

    .signin-icon {
        height: 60rpx;
        width: 60rpx;
        margin: 0 12rpx 0 20rpx;
    }

    .signin-text {
        font-size: 32rpx;
        font-weight: bold;
        color: rgba(253, 193, 47, 1);
    }
}


.nav {
    padding: 0 30rpx;
    box-sizing: border-box;
    margin-top: 120rpx;
    position: relative;

    .nav-list {
        width: 100%;
        height: 224rpx;
        // background: #ffffff;
        border-radius: 8rpx;
        display: flex;
        justify-content: space-around;

        .nav-item {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            .nav-icon {
                width: 88rpx;
                height: 88rpx;
            }

            .nav-text {
                font-size: 28rpx;
                color: #666666;
                margin-top: 10rpx;
            }
        }
    }
}

.news {

    padding: 10rpx 0;
    box-sizing: border-box;


    .title {
        padding: 0 30rpx;
        box-sizing: border-box;
        height: 90rpx;
        display: flex;
        align-items: center;
        font-size: 28rpx;
        font-weight: bold;
        color: #ffffff;
        justify-content: space-between;

        view {
            display: flex;
            align-items: center;

            &:nth-of-type(2) {
                color: #FFCE8C;
                margin-left: 10rpx;
            }
        }

        .orange-bg {
            padding: 3rpx 10rpx;
            box-sizing: border-box;
            background: #666;
            border-radius: 0px 16rpx 0px 16rpx;

        }

        .more-news {
            display: flex;
            justify-content: center;
            color: rgb(102, 102, 102) !important;

            height: 60rpx;
            border-radius: 40rpx;
            font-weight: normal;
        }
    }

    .swipercontent {
        position: relative;
        width: 100%;
        .dots {
            position: absolute;
            // left: 0;
            right: 58rpx;
            bottom: 88rpx;
            display: flex;
            justify-content: center;
        }

        .dot {
            margin: 0 8rpx;
            width: 18rpx;
            height: 18rpx;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            transition: all .6s;
        }

        .dot.active {
            width: 18rpx;
            background: #fff;
        }

        .news-list {
            width: 100%;
            white-space: nowrap;
            height: 390rpx;
            padding: 0 30rpx;
            box-sizing: border-box;

            ::-webkit-scrollbar {
                display: none;
                width: 0;
                height: 0;
                color: transparent;
              }

            .news-item {
                // width: 490rpx;
                height: 370rpx;
                display: inline-block;
                width: 300rpx;
                margin-right: 16rpx;
                vertical-align:top;
                &:last-child {
                    margin-right: 0;
                }

                .news-img {
                    width: 300rpx;
                    height: 240rpx;
                    object-fit: cover;
                    border-radius: 8rpx 8rpx 0 0;
                    display: block;
           
                }

                .news-title {
                    padding: 15rpx 12rpx;
                    box-sizing: border-box;
                    font-size: 28rpx;
                    color: #333333;
                    width: 100%;
                    white-space: normal;
                    height: 130rpx;
                    word-break: break-all;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    line-height: 55rpx;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    background: rgba(246, 246, 246, 1);
                    box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(0, 0, 0, 0.15);
                    border-radius: 0rpx 0rpx 7rpx 7rpx;

                }
            }
        }
    }

}

.recommend-good {
    padding: 0rpx 30rpx 10rpx 30rpx;
    box-sizing: border-box;

    .title {
        height: 90rpx;
        display: flex;
        align-items: center;
        justify-content: center;

        view {
            &:nth-of-type(1) {
                width: 36rpx;
                height: 2rpx;
                background: #bebebe;
                margin-right: 26rpx;
            }

            &:nth-of-type(2) {
                font-size: 30rpx;
                font-weight: bold;
                color: #333333;
                margin-right: 24rpx;
                line-height: 30rpx;
            }

            &:last-child {
                width: 36rpx;
                height: 2rpx;
                background: #bebebe;
            }
        }

        image {
            margin-right: 10rpx;
            width: 34rpx;
            height: 32rpx;
        }
    }

    .recommend-goods {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .goods-item {
            width: 336rpx;
            // height: 530rpx;
            margin-bottom: 20rpx;

            image {
                border: 2rpx solid #dbdbdb;
                border-radius: 12rpx 12rpx 0px 0px;

                display: flex;
                width: 99%;
                height: 320rpx;
                border-radius: 12rpx 12rpx 0px 0px;
            }

            .goods-info {
                width: 100%;
                height: 241rpx;
                background: #ffffff;
                border-radius: 0px 0px 12rpx 12rpx;
                padding: 20rpx 22rpx;
                box-sizing: border-box;
                border: 2rpx solid rgba(219, 219, 219, 1);

                .goods-title {
                    font-size: 30rpx;
                    color: #666666;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    height: 80rpx;

                }

                .integral {
                    // height: 90rpx;
                    margin-top: 10rpx;

                    .num {
                        font-size: 30rpx;
                        color: #fb3319;
                        flex: 1;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        word-break: break-all;
                    }

                    .exchange {
                        width: 136rpx;
                        height: 44rpx;
                        background: linear-gradient(224deg, rgba(102, 102, 102, 1) 0%, rgba(68, 68, 68, 1) 100%);
                        border-radius: 0px 20rpx 0px 20rpx;
                        font-size: 28rpx;
                        color: #FFC875;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin-left: auto;
                        margin-top: 20rpx;
                    }
                }
            }
        }

    }

    .lookmore {
        width: 300rpx;
        height: 64rpx;
        border-radius: 33rpx;
        border: 2rpx solid rgba(219, 219, 219, 1);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 30rpx;
        margin: 20rpx auto;
        color: rgba(102, 102, 102, 1);
    }
}

.pop-window {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;

    .pop {
        width: 520rpx;
        height: 600rpx;
        background: #fff;
        border-radius: 8rpx;
        padding: 50rpx;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        flex-direction: column;

        .unlogin {
            font-size: 32rpx;
            color: #333;
        }

        .pleaselogin {
            margin-top: 10rpx;
            font-size: 30rpx;
            color: #999;
        }

        .icon {
            margin-top: 48rpx;
            width: 354rpx;
            height: 212rpx;
        }

        .choose {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 56rpx;

            .zanbu {
                width: 190rpx;
                height: 60rpx;
                border-radius: 31rpx;
                border: 2rpx solid #dda661;
                font-size: 30rpx;
                color: #DDA661;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .liji {
                width: 192rpx;
                height: 62rpx;
                background: #E2B884;
                border-radius: 31rpx;
                font-size: 30rpx;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
            }

        }
    }
}

.no-have-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 32rpx;
    color: rgba(102, 102, 102, 1);
    width: 100%;
    margin: 50rpx 0;

    .no-have-data {
        width: 320rpx;
        height: 200rpx;
        margin-bottom: 20rpx;
    }
}

.jinyong {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    color: #fff;
    z-index: 99;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 50rpx;
    box-sizing: border-box;
}
.time-good {
    padding: 0rpx 0 10rpx 0;
    box-sizing: border-box;
    .no-have-exchange {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 32rpx;
        color: rgba(102, 102, 102, 1);
        width: 100%;
        margin: 50rpx 0;
    
        .no-have-data {
            width: 320rpx;
            height: 200rpx;
            margin-bottom: 20rpx;
        }
    } 
    .title {
        height: 120rpx;
        display: flex;
        align-items: center;
        justify-content: center;

        view {
            &:nth-of-type(1) {
                width: 36rpx;
                height: 2rpx;
                background: #bebebe;
                margin-right: 26rpx;
            }

            &:nth-of-type(2) {
                font-size: 30rpx;
                font-weight: bold;
                color: #333333;
                margin-right: 24rpx;
                line-height: 30rpx;
            }

            &:last-child {
                width: 36rpx;
                height: 2rpx;
                background: #bebebe;
            }
        }

        image {
            margin-right: 10rpx;
            width: 34rpx;
            height: 32rpx;
        }
    }

    .time-goods {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 30rpx;
        box-sizing: border-box;

        .goods-item {
            width: 100%;
            // height: 530rpx;
            margin-bottom: 20rpx;
            display: flex;

            image {
                border-radius: 12rpx 0px 0px 12rpx;
                display: flex;
                width: 280rpx;
                height: 280rpx;
            }

            .goods-info {
                flex: 1;
                height: 280rpx;
                background: #ffffff;
                border-radius: 0px 12rpx 12rpx 0px;
                padding: 20rpx 22rpx;
                box-sizing: border-box;
                border: 2rpx solid rgba(219, 219, 219, 1);
                position: relative;

                .goods-title {
                    font-size: 30rpx;
                    color: #666666;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;

                }

                .end-time {
                    margin-top: 16rpx;
                    width: 100%;
                    height: 50rpx;
                    background: #fff0ec;
                    border-radius: 4rpx;
                    display: flex;
                    align-items: center;
                    padding: 0 10rpx;
                    box-sizing: border-box;

                    .end-text {
                        font-size: 24rpx;
                        color: rgba(51, 51, 51, 1);
                    }

                    .end-times {
                        font-size: 24rpx;
                        color: rgba(251, 51, 25, 1);
                    }
                }

                .time-duan {
                    margin-top: 16rpx;
                    width: 100%;
                    height: 50rpx;
                    background: #fff3e0;
                    border-radius: 4rpx;
                    display: flex;
                    align-items: center;
                    padding: 0 10rpx;
                    box-sizing: border-box;

                    .end-text {
                        font-size: 22rpx;
                        color: rgba(51, 51, 51, 1);
                    }

                    .end-times {
                        font-size: 21rpx;
                        color: #F5A623;
                    }
                }

                .integral {
                    // height: 90rpx;
                    margin-top: 10rpx;
                    display: flex;
                    position: absolute;
                    bottom: 15rpx;
                    left: 0;
                    justify-content: space-between;
                    right: 0;

                    align-items: center;
                    padding: 0 25rpx;
                    box-sizing: border-box;

                    // justify-content: space-between;
                    .num {
                        font-size: 28rpx;
                        color: #fb3319;
                        flex: 1;
                        padding-right: 10rpx;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        word-break: break-all;
                    }

                    .num-old {

                        font-size: 22rpx;
                        color: #999999;
                        flex: 1;
                        padding-right: 10rpx;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        word-break: break-all;
                        text-decoration: line-through;
                    }

                    .exchange {
                        width: 110rpx;
                        height: 44rpx;
                        background: linear-gradient(90deg, rgba(255, 128, 98, 1) 0%, rgba(236, 52, 28, 1) 100%);
                        border-radius: 22rpx;
                        font-size: 26rpx;
                        color: #FFFFFF;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }
                }
            }
        }

    }

    .lookmore {
        width: 300rpx;
        height: 64rpx;
        border-radius: 33rpx;
        border: 2rpx solid rgba(219, 219, 219, 1);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 30rpx;
        margin: 20rpx auto;
        color: rgba(102, 102, 102, 1);
    }
}